package com.dcrzl.gazgmh.module.sys.service;


import com.dcrzl.gazgmh.common.entity.sys.SysUser;
import com.dcrzl.gazgmh.common.service.BaseService;
import com.dcrzl.gazgmh.common.utils.PageInfo;
import com.dcrzl.gazgmh.common.utils.Result;

import java.util.List;

/**
 * @author dcrzl
 * @email 1728795786@qq.com
 * @date 2023-04-25 13:39:00
 */
public interface SysUserService extends BaseService<SysUser> {
    Result<Integer> update(SysUser sysUser);


    Result<SysUser> selectOne(SysUser sysUser);


    Result<List<SysUser>> selectList(SysUser sysUser);


    PageInfo<SysUser> selectPage(SysUser sysUser);

    /**
     * 平台登录
     * @param sysUser
     * @return
     */
    Result<Object> login(SysUser sysUser);

    PageInfo<SysUser> selectURolePage(SysUser sysUser);

    Result<Integer> updatePasswordById(SysUser sysUser);
}

